﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Logon.aspx.cs" Inherits="MonkeyWarranty.Web.Logon" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="MainMenu" ContentPlaceHolderID="MainMenu" runat="server" />
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align="center">
        <p>
            <h2>Đăng nhập hệ thống</h2>
        </p>
        <span class="failureNotification"><asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal></span>
        <table>
            <tr>
                <td>Username</td>
                <td>
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td>
                <td>
                    <asp:RequiredFieldValidator ControlToValidate="txtUserName" ID="vUsername" runat="server" ErrorMessage="*" ForeColor="red"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>Password</td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox></td>
                <td><asp:RequiredFieldValidator ControlToValidate="txtPassword" ID="vPassword" runat="server" ErrorMessage="*" ForeColor="red"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>Ghi nhớ đăng nhập</td>
                <td>
                    <asp:CheckBox ID="chkPersistCookie" runat="server" /></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <asp:Button ID="btnLogon" runat="server" Text="Đăng nhập" OnClick="BtnLogonClick" /></td>
                <td></td>
            </tr>
        </table>
    </div>
</asp:Content>
